﻿using System.Collections.ObjectModel;
using System.Collections.Generic;

namespace WP7UIKit.Helper
{
    public static class ObservableCollectionHelper
    {
        public static ObservableCollection<T> ToObservableCollection<T>(this List<T> list, ObservableCollection<T> observables)
        {
            foreach (T t in list)
            {
                observables.Add(t);
            }
            return observables;
        }
    }
}
